package cn.panda.edu.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 
 * 类描述：  学生类 
 */
public class Student implements Serializable{
	/** 
	* @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么) 
	*/ 
	private static final long serialVersionUID = 1L;

	/**
	 * 学生编号
	 */
    private Integer studentId;
    
    /**
     * 专业编号
     */
    private Integer majorId;
    
    /**
     * 论文表编号
     */
    private Integer thesisId;

    /**
     * 密码
     */
    private String studentPassword;

    /**
     * 学生姓名
     */
    private String studentName;

    /**
     * 学生性别
     */
    private String studentSex;

    /**
     * 学生民族
     */
    private String studentNation;

    /**
     * 身份证号
     */
    private String studentIdcard;

    /**
     * 手机号
     */
    private String studentPhone;

    /**
     * 毕业院校
     */
    private String studentGraduate;

    /**
     * 出生日期
     */
    private Date studentBirth;

    /**
     * 家庭住址
     */
    private String studentAddress;

    /**
     * 学历
     */
    private String studentEducation;

    /**
     * 毕业证照片
     */
    private String studentCertificate;

    /**
     * 二寸照片
     */
    private String studentPhoto;

    /**
     * 邮箱
     */
    private String studentEmail;

    /**
     * 报名日期
     */
    private Date studentDate;

    /**
     * 所选类型（升学类型）
     */
    private String studentType;

    /**
     * 第一次缴费
     */
    private BigDecimal studentFirstMoney;

    /**
     * 第一次缴费时间
     */
    private Date studentFirstMoneyTime;

    /**
     * 第二次缴费
     */
    private BigDecimal studentSecondMoney;

    /**
     * 第二次缴费时间
     */
    private Date studentSecondMoneyTime;

    /**
     * 最近修改人
     */
    private String studentModifyPerson;

    /**
     * 最近修改日期
     */
    private Date studentModifyDate;

    /**
     * 最后在线时间
     */
    private Date studentLastTime;

    /**
     * 总计在线时长
     */
    private String studentTotalTime;

    /**
     * 是否毕业
     */
    private String studentGraduation;

    /**
     * 删除状态
     */
    private Integer studentDelete;
    
    /**
     * 多对一 专业表
     */
    private Major major;
    /**
     * 成绩集合
     */
    private List<Score> scores = new ArrayList<>();
    
    /**
     * 考试集合
     */
    private List<Exam> exams = new ArrayList<>();
    
    public List<Score> getScores() {
		return scores;
	}

	public void setScores(List<Score> scores) {
		this.scores = scores;
	}

	public List<Exam> getExams() {
		return exams;
	}

	public void setExams(List<Exam> exams) {
		this.exams = exams;
	}

	public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public Integer getMajorId() {
        return majorId;
    }

    public void setMajorId(Integer majorId) {
        this.majorId = majorId;
    }

    public Integer getThesisId() {
        return thesisId;
    }

    public void setThesisId(Integer thesisId) {
        this.thesisId = thesisId;
    }

    public String getStudentPassword() {
        return studentPassword;
    }

    public void setStudentPassword(String studentPassword) {
        this.studentPassword = studentPassword == null ? null : studentPassword.trim();
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName == null ? null : studentName.trim();
    }

    public String getStudentSex() {
        return studentSex;
    }

    public void setStudentSex(String studentSex) {
        this.studentSex = studentSex == null ? null : studentSex.trim();
    }

    public String getStudentNation() {
        return studentNation;
    }

    public void setStudentNation(String studentNation) {
        this.studentNation = studentNation == null ? null : studentNation.trim();
    }

    public String getStudentIdcard() {
        return studentIdcard;
    }

    public void setStudentIdcard(String studentIdcard) {
        this.studentIdcard = studentIdcard == null ? null : studentIdcard.trim();
    }

    public String getStudentPhone() {
        return studentPhone;
    }

    public void setStudentPhone(String studentPhone) {
        this.studentPhone = studentPhone == null ? null : studentPhone.trim();
    }

    public String getStudentGraduate() {
        return studentGraduate;
    }

    public void setStudentGraduate(String studentGraduate) {
        this.studentGraduate = studentGraduate == null ? null : studentGraduate.trim();
    }

    public Date getStudentBirth() {
        return studentBirth;
    }

    public void setStudentBirth(Date studentBirth) {
        this.studentBirth = studentBirth;
    }

    public String getStudentAddress() {
        return studentAddress;
    }

    public void setStudentAddress(String studentAddress) {
        this.studentAddress = studentAddress == null ? null : studentAddress.trim();
    }

    public String getStudentEducation() {
        return studentEducation;
    }

    public void setStudentEducation(String studentEducation) {
        this.studentEducation = studentEducation == null ? null : studentEducation.trim();
    }

    public String getStudentCertificate() {
        return studentCertificate;
    }

    public void setStudentCertificate(String studentCertificate) {
        this.studentCertificate = studentCertificate == null ? null : studentCertificate.trim();
    }

    public String getStudentPhoto() {
        return studentPhoto;
    }

    public void setStudentPhoto(String studentPhoto) {
        this.studentPhoto = studentPhoto == null ? null : studentPhoto.trim();
    }

    public String getStudentEmail() {
        return studentEmail;
    }

    public void setStudentEmail(String studentEmail) {
        this.studentEmail = studentEmail == null ? null : studentEmail.trim();
    }

    public Date getStudentDate() {
        return studentDate;
    }

    public void setStudentDate(Date studentDate) {
        this.studentDate = studentDate;
    }

    public String getStudentType() {
        return studentType;
    }

    public void setStudentType(String studentType) {
        this.studentType = studentType == null ? null : studentType.trim();
    }

    public BigDecimal getStudentFirstMoney() {
        return studentFirstMoney;
    }

    public void setStudentFirstMoney(BigDecimal studentFirstMoney) {
        this.studentFirstMoney = studentFirstMoney;
    }

    public Date getStudentFirstMoneyTime() {
        return studentFirstMoneyTime;
    }

    public void setStudentFirstMoneyTime(Date studentFirstMoneyTime) {
        this.studentFirstMoneyTime = studentFirstMoneyTime;
    }

    public BigDecimal getStudentSecondMoney() {
        return studentSecondMoney;
    }

    public void setStudentSecondMoney(BigDecimal studentSecondMoney) {
        this.studentSecondMoney = studentSecondMoney;
    }

    public Date getStudentSecondMoneyTime() {
        return studentSecondMoneyTime;
    }

    public void setStudentSecondMoneyTime(Date studentSecondMoneyTime) {
        this.studentSecondMoneyTime = studentSecondMoneyTime;
    }

    public String getStudentModifyPerson() {
        return studentModifyPerson;
    }

    public void setStudentModifyPerson(String studentModifyPerson) {
        this.studentModifyPerson = studentModifyPerson == null ? null : studentModifyPerson.trim();
    }

    public Date getStudentModifyDate() {
        return studentModifyDate;
    }

    public void setStudentModifyDate(Date studentModifyDate) {
        this.studentModifyDate = studentModifyDate;
    }

    public Date getStudentLastTime() {
        return studentLastTime;
    }

    public void setStudentLastTime(Date studentLastTime) {
        this.studentLastTime = studentLastTime;
    }

    public String getStudentTotalTime() {
        return studentTotalTime;
    }

    public void setStudentTotalTime(String studentTotalTime) {
        this.studentTotalTime = studentTotalTime == null ? null : studentTotalTime.trim();
    }

    public String getStudentGraduation() {
        return studentGraduation;
    }

    public void setStudentGraduation(String studentGraduation) {
        this.studentGraduation = studentGraduation == null ? null : studentGraduation.trim();
    }

    public Integer getStudentDelete() {
        return studentDelete;
    }

    public void setStudentDelete(Integer studentDelete) {
        this.studentDelete = studentDelete;
    }

	public Major getMajor() {
		return major;
	}

	public void setMajor(Major major) {
		this.major = major;
	}

	@Override
	public String toString() {
		return "Student [studentId=" + studentId + ", majorId=" + majorId + ", thesisId=" + thesisId
				+ ", studentPassword=" + studentPassword + ", studentName=" + studentName + ", studentSex=" + studentSex
				+ ", studentNation=" + studentNation + ", studentIdcard=" + studentIdcard + ", studentPhone="
				+ studentPhone + ", studentGraduate=" + studentGraduate + ", studentBirth=" + studentBirth
				+ ", studentAddress=" + studentAddress + ", studentEducation=" + studentEducation
				+ ", studentCertificate=" + studentCertificate + ", studentPhoto=" + studentPhoto + ", studentEmail="
				+ studentEmail + ", studentDate=" + studentDate + ", studentType=" + studentType
				+ ", studentFirstMoney=" + studentFirstMoney + ", studentFirstMoneyTime=" + studentFirstMoneyTime
				+ ", studentSecondMoney=" + studentSecondMoney + ", studentSecondMoneyTime=" + studentSecondMoneyTime
				+ ", studentModifyPerson=" + studentModifyPerson + ", studentModifyDate=" + studentModifyDate
				+ ", studentLastTime=" + studentLastTime + ", studentTotalTime=" + studentTotalTime
				+ ", studentGraduation=" + studentGraduation + ", studentDelete=" + studentDelete + "]";
	}
    
    
}